import java.util.Scanner;

public class Test7 {
    public static void main1(String[] args) {
        Scanner in = new Scanner(System.in);
        int tmp = 0;
        while(in.hasNextInt()){
            int a = in.nextInt();
             tmp = Test7.func(a);
            if(tmp>0&&tmp<=9){
                System.out.println(tmp);
            }else{
                tmp = Test7.func(tmp);
            }
        }
        System.out.println(tmp);
    }
    public static int func(int a){
        int tmp = 0;
        while(a!=0){
            tmp += a%10;
            a = a/10;
        }
        return tmp;
    }
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextInt()) { // 注意 while 处理多个 case
            float a = 7;//表示猫的身长
            float b = 1;//表示碗的半径
            float tmp = (float)Math.PI * 2 * b;
            if (a > tmp) {
                System.out.println("NO");
            } else {
                System.out.println("YES");
            }
        }
    }
}
